package com.qk.management.service;

import com.qk.common.PageResult;
import com.qk.dto.activity.ActivityDTO;
import com.qk.entity.Activity;

import java.util.List;

/**
 * @Author:Shuna
 * @Date: 2025/10/09 11:28
 * @Description:
 */
public interface ActivityService {
    PageResult<Activity> page(ActivityDTO activityDTO);

    void add(Activity activity);

    void deleteById(Integer id);

    Activity getById(Integer id);

    void update(Activity activity);

    List<Activity> getByType(Integer type);
}
